//
//  UIView+SetFrame.h
//  tools
//
//  Created by hyjet on 2018/3/14.
//  Copyright © 2018年 tools. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (SetFrame)

@property (nonatomic, assign)CGFloat cw_x;
@property (nonatomic, assign)CGFloat cw_y;
@property (nonatomic, assign)CGFloat cw_width;
@property (nonatomic, assign)CGFloat cw_height;
@property (nonatomic, assign)CGFloat cw_centerX;
@property (nonatomic, assign)CGFloat cw_centerY;
@property (nonatomic, assign)CGSize cw_size;

/**
*  水平居中
*/
- (void)alignHorizontal;
/**
 *  垂直居中
 */
- (void)alignVertical;

@end
